package demo.hms.user.service;

import demo.hms.mybatis.entity.User;
import demo.hms.util.Result;

import javax.servlet.http.HttpServletRequest;

public interface UserService {
    Result select(String userid);
    Result login(String userid, String userpassword, HttpServletRequest request);
    Result info(HttpServletRequest request);
    //强制类型转换
    Result selectAllUser(String userId, String userName, String roleName);

    Result insertUser(User user);

    Result updateUser(User user);

    Result dabbleUser(String user);
}
